package com.zb.vo;

import com.zb.annotation.NumberPattern;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/9/13 0013
 **/
@Data
@ApiModel("工单模块查询条件对象")
public class WorkModuleSelectVo extends PageUtil {
    @NumberPattern(regexp = "^(1|2|3|4)$", message = "模块类型参数不合法")
    @ApiModelProperty(value = "模块类型：1-安装，2-维修，3-保养，4-其他")
    private Integer type;

    @ApiModelProperty(value = "模块名称")
    private String name;
}
